scale_y_continuous
{GGPLOT2}
Customise continuous y axis
round
{base}
Rounds numbers
cut
{base}
Convert Numeric to Factor
t.test
{stats}
Performs one and two sample t-tests on vectors of data.
ggplot
{GGPLOT2}
Create a ggplot graph
c
{base}
Combine values/vectors into a vector
table
{base}
Obtain frequency table of a variable/cross-tabulation of two variables
select
{dplyr}
Select columns from a tibble/data frame
attach
{base}
Attach Set of R Objects to Search Path
scale_x_continuous
{GGPLOT2}
Customise continuous x axis
mean
{base}
Get mean of a vector
list
{base}
Create a list object
prop.test
{stats}
Test of Equal or Given Proportions
group_by
{dplyr}
Group tibble/data.frame by a factor variable. All further tidyverse operations are performed group-wise
theme
{GGPLOT2}
Set theme for GGPLOT2
geom_point
{GGPLOT2}
Generates a scatter plot
theme_latex
{tinytable}
A theme for modelsummary/tinytable tables
ungroup
{dplyr}
Resolve grouping created with “group_by”
group_tt
{tinytable}
Grouping in tinytable
is.na
{base}
Check if a value is NA/elements of vector are NA
mutate
{dplyr}
Modify/create a column in a data frame
min
{base}
Get minimum of a vector
geom_vline
{GGPLOT2}
Draws a vertical line
rename
{dplyr}
Renames columns in a data frame or tibble.
element_text
{GGPLOT2}
Customise text in GGPLOT2
class
{base}
Retrieve class of an R object
element_line
{GGPLOT2}
Customise line appearance
chisq.test
{stats}
Chi-Squared test (e.g. for cross-tabulations)
labs
{GGPLOT2}
Customise labels in GGPLOT2
slice_sample
{dplyr}
Randomly selects rows from a data frame or tibble.
colnames
{base}
Retrieve column names of a data frame
names
{base}
Retrieve names of a list/vector
read.csv
{utils}
Read a csv file to data frame. Specify stringsAsFactors = FALSE to keep all string columns as characters
modelsummary
{modelsummary}
Creates regression and data tables
aes
{GGPLOT2}
Construct aesthetic mapping of a ggplot graph
plotPlane
{rockchalk}
Draw a 3-D regression plot for two predictors
geom_smooth
{GGPLOT2}
Generates a smoothed conditional means curve / line
rm
{base}
Remove objects
leveneTest
{car}
Computes Levene’s test for homogeneity of variance across groups.
geom_hline
{GGPLOT2}
Add a horizontal line in GGPLOT2
filter
{dplyr}
Filter out rows of a data frame according to logical vector
element_blank
{GGPLOT2}
This theme element draws nothing, and assigns no space
with
{base}
evaluate expression in the context of a data frame
lm
{base}
Fit a linear model
median
{stats}
Get median of a vector
library
{base}
Load an R package
ordered
{dplyr}
Create an ordered factor
ylab
{GGPLOT2}
Label the y axis (ggplot)
dim
{base}
Get dimensions of a data frame
ggtitle
{GGPLOT2}
Generates a title for a ggplot graph
set.seed
{base}
Initialise a pseudorandom number generator.
ggsave
{ggplot2}
Saves the last ggplot or a specified ggplot object to a file
xlab
{GGPLOT2}
Label the x axis (ggplot)
data.frame
{base}
Create a data.frame from vectors
ls
{base}
Return a vector of character strings giving the names of the objects in the specified environment
confint
{stats}
Calculate confidence Intervals for Model Parameters
setwd
{base}
Set Working Directory
summary
{base}
Obtain summary statistics or detailed regression output
theme_classic
{GGPLOT2}
A minimalistic theme with no gridlines
nrow
{base}
Get number of rows of a data frame
read_excel
{readxl}
Read an Excel file
The end!